import React from 'react';

class ThridList extends React.Component {
    constructor(props){
        super(props)
    }
    render(){
        const {pathl,pathr,radius,infObj={},click}=this.props
        return (
                <li className="pos-rel" onClick={click}>
                    <img className={radius?'radius v-m':'v-m'} src={pathl} alt='icon' style={{"width":"32px","height":"32px"}}/>
                    <div className="dib v-m">
                        <p className="third-title ellipsis mxw-140">{infObj.bundle_price?'产品名称':'用户名'}：{infObj.name||'暂无数据'}</p>
                        <p>{infObj.bundle_price?'产品类型':'产品数'}：{infObj.user_restrict}</p>
                    </div>
                    {pathr && <img className="v-m pos-abs"  style={{'right':'12px','top':'18px'}} src={pathr} alt='icon'/>}
                </li>
        )
    }
}

export default ThridList